package New;

public class text3 {
    public static void main(String[] args) {
        int[]b1={1,2,3,4,5};
        int sum=0;
        for (int i = 0; i < b1.length; i++) {
            sum=sum+b1[i];

            }
        System.out.println(sum);
    }
}
